package com.haibo.mapper;

import com.haibo.entity.model.MedicalRecordGenerationDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Author : 刘海波
 * @Date: 2025/9/16 15:37
 * @Description: 病历质控-主表
 */
@Mapper
public interface MedicalRecordGenerationMapper {

    /**
     * 新增[病历质控-主表]
     * @param medicalRecordGenerationDO
     * @return
     */
    Integer save(@Param("param") MedicalRecordGenerationDO medicalRecordGenerationDO);

    /**
     * 查询[病历质控-主表]
     * @param medicalRecordGenerationMap
     * @return
     */
    List<MedicalRecordGenerationDO> listByMap(@Param("param") Map<String, String> medicalRecordGenerationMap);

    /**
     * 更新[病历质控-主表]
     * @param updatedMedicalRecordGenerationDO
     * @return
     */
    int updateById(@Param("param") MedicalRecordGenerationDO updatedMedicalRecordGenerationDO);
}
